package com.rm.zeyou.pay.wxpay.service;


import com.rm.zeyou.pay.wxpay.entity.GetAccessTokenByCodeBean;
import com.rm.zeyou.pay.wxpay.entity.GetUserInfoBean;

/**
 * @Description: 微信公众号登陆
 * @Title:
 * @Package com.sxskz.software.base.login.wx.miniprogram
 * @Author ZhangKeChen  🤙🤙🏼🤙🏽
 * @Date 2023/4/26 5:45 PM
 */
public interface WechatH5LoginService {

    /**
     * 通过code换取网页授权access_token
     *
     * @return
     */
    GetAccessTokenByCodeBean getAccessToken(String code);

    /**
     * 拉取用户信息
     */
    GetUserInfoBean getUserInfo(String openId, String accessToken);

}
